<template>
  <rx-dialog @cancel="cancel" :showok="false">
    <a-form :form="form" >
      <a-form-item style="display:none">
        <a-input v-decorator="['id']"/>
      </a-form-item>
			  <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.sqlDetails','SQL详情')">
          {{mdl.sql}}
        </a-form-item>
        <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.parameterDescription','参数说明')">
          {{mdl.params}}
        </a-form-item>
        <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="i18n('form.executionRemarks','执行备注')">
          {{mdl.remark}}
        </a-form-item>
    </a-form>
  </rx-dialog>
</template>
<script>
  import FormSqlLogApi from '@/api/form/core/formSqlLog'
  import {BaseForm,RxDialog} from "@lowcode/jpaas-common-lib";
  export default {
    name: 'FormSqlLogDetail',
    mixins:[BaseForm],
    components: {
      RxDialog,
    },
    methods: {
        i18n(name, text, key) {
            return this.$ti18(name, text, "formSqlLog", key);
        },
      get(id){
        return FormSqlLogApi.get(id);
      },
      save(values){
        return FormSqlLogApi.save(values);
      }

    }
  }
</script>
